package com.ipzoe.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "会员卡兑换入参")
@Data
public class MemberCardExchangeRequestDTO {

    @ApiModelProperty(value = "用户id")
    @NotBlank(message = "用户id不能为空")
    private Long memberId;


    @ApiModelProperty(value = "卡号")
    @NotBlank(message = "卡号不能为空")
    private String cardNum;
}
